package StructureUI;

import java.rmi.RemoteException;

import vo.StructureVO;
import RMI.RMIHelper;
import StructureBL.StructureLogicService;

public class StructureDriver
{
	public static void main(String[] args)
	{
		StructureDriver sd = new StructureDriver();
		sd.test();
	}
	
	public void test()
	{
		RMIHelper rmi = new RMIHelper();
		// Part 1
		StructureLogicService sls = rmi.getStructureService();
		StructureVO temple=null;
		try
		{
			temple = sls.getStructure();
		} catch (RemoteException e)
		{
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		System.out.println(temple.Commmon);
	}
}
